package org.oak.repository;

import org.oak.model.User;

import java.util.Optional;

/**
 * org.oak.repository.UserRepository
 *
 * @author ZRS
 * @version V1.0
 * @since 2025/10/29 18:33
 */
public interface UserRepository {

    Optional<User> findById(Long id);

    User save(User user);

    void deleteById(Long id);

}
